package managerGUI;

import java.awt.Component;

import javax.swing.JList;
import javax.swing.ListCellRenderer;

import model.Project;

public class ProjectListRenderer implements ListCellRenderer {

	@Override
	public Component getListCellRendererComponent(JList arg0, Object arg1,
			int arg2, boolean arg3, boolean arg4) {
		return new ProjectRow(((Project) arg1).getName(), ((Project) arg1).getType().toString());
		}

}
